package com.bwie.home.backstage.entity;

import com.baomidou.mybatisplus.annotation.TableId;
import com.baomidou.mybatisplus.annotation.TableName;

import java.io.Serializable;
import java.util.Date;

import com.fasterxml.jackson.annotation.JsonFormat;
import lombok.Data;

/**
 * 
 * 
 * @author sy
 * @email sunlightcs@gmail.com
 * @date 2021-09-16 11:01:32
 */
@Data
@TableName("tb_teambuy")
public class TeambuyEntity implements Serializable {
	private static final long serialVersionUID = 1L;

	/**
	 * 编号
	 */
	@TableId
	private Integer id;
	/**
	 * 标题
	 */
	private String title;
	/**
	 * 团购开启/结束状态，0关1开
	 */
	private Integer buystatus;
	/**
	 * 记录是否删除，0否1是
	 */
	private Integer delstatus;
	/**
	 * 团购结束时间
	 */
	@JsonFormat(pattern = "yyyy-MM-dd",timezone = "GMT+8")
	private Date endtime;

}
